/**
 * 描述: 推送消息路由
 * 作者: wz
 * 日期: 2024-01-30
*/

const express = require('express');
const router = express.Router();
const { body } = require('express-validator');
const service = require('../services/drawService');


// 推送消息路由getDrawContentByDrawbook
router.post('/getDrawList', service.getDrawList);
router.post('/getDrawContentByName', service.getDrawContentByName);
router.post('/deleteDrawContent', service.deleteDrawContent);
router.post('/getDrawContentByDrawbook', service.getDrawContentByDrawbook);
router.post('/addDraw', service.addDraw);
router.post('/deleteDraw', service.deleteDraw);
router.post('/addContent', service.addContent);
router.post('/createDrawtail', service.createDrawtail);
 router.post('/deleteDrawtail', service.deleteDrawtail);
router.post('/getAllDrawtailByName', service.getAllDrawtailByName);
router.post('/upload', service.upload);
router.post('/deleteImg', service.deleteImg);
module.exports = router;

